Google reader: Null pointers that have been freed in case we are executed more than...
authorrobertl <robertl>
Sun, 9 Jul 2006 01:37:39 +0000 (01:37 +0000)
committerrobertl <robertl>
Sun, 9 Jul 2006 01:37:39 +0000 (01:37 +0000)
google.c

index 958ab66d766a1a8c0932bde79e7c8d677459bc1b..7fcacbde295884f225ce927ea3b52acd81b1f8c6 100644 (file)
--- a/google.c
+++ b/google.c
@@ -347,6 +347,7 @@ google_read(void)
                  }
                }
                xfree( script );
+               script = NULL;
        }
 }
 #endif
@@ -356,6 +357,8 @@ google_rd_deinit(void)
 {
        xml_deinit();
        mkshort_del_handle(&desc_handle);
+       encoded_points = NULL;
+       encoded_levels = NULL;
 }
 
 ff_vecs_t google_vecs = {